#ifndef LIST_HPP
#define LIST_HPP

#include "Addr.hpp"
class Reactor;
class Listener
{
public:
Listener(int listensockfd,class Addr localaddr):
_listensockfd(listensockfd),
_localaddr(localaddr)
{}
~Listener(){}
int Sockfd()
{
    return _listensockfd;
}
private:
int _listensockfd;
class Addr _localaddr;
};

#endif